<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="jquery.min.js"></script>
</head>

<body>
    <button>快速</button>
    <button>快速</button>
    <button>快速</button>
    <button>快速</button>
    <button>快速</button>
    <button>快速</button>
    <button>快速</button>
    <script>
        $(function () {
            $("button").click(function () {
                // 链式编程： 让当前元素颜色变为红色，让其余的姐妹元素不变色 
                $(this).css(`color`,`red`).siblings().css(`color`,``)

            });
        })
    </script>
</body>

</html>